package com.sunny.fetch.mapper;

import com.sunny.fetch.pojo.FNews;
import com.sunny.fetch.pojo.FNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

public interface FNewsMapper extends Mapper<FNews>, InsertListMapper<FNews> {
    long countByExample(FNewsExample example);

    int deleteByExample(FNewsExample example);

    List<FNews> selectByExample(FNewsExample example);

    int updateByExampleSelective(@Param("record") FNews record, @Param("example") FNewsExample example);

    int updateByExample(@Param("record") FNews record, @Param("example") FNewsExample example);
}